﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="Framework.Portal.Layouts.Admin.Components.Ads.List" %>
<asp:UpdatePanel ID="upanelGridPortals" runat="server" UpdateMode="Conditional" RenderMode="Inline">               
    <ContentTemplate>
        <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
        <tr>
            <td class="postheader" width="30%" align="left" valign="top">
                <table border="0" cellpadding="0" cellspacing="1" class="content" style="width: 100%">
                    <tr>
                        <td class="post" align="left">
                            <asp:TreeView ID="tvwControls" runat="server"  ExpandImageUrl="/Resource/Images/icon/14/col.gif" CollapseImageUrl="/Resource/Images/icon/14/exp.gif" NodeStyle-CssClass="TreeNode" NodeIndent="15" NoExpandImageUrl="/Resource/Images/icon/14/noexp.gif"
                            SelectedNodeStyle-CssClass="SelectedTreeNode" OnSelectedNodeChanged="tvwControls_SelectedNodeChanged" >                   
                            </asp:TreeView>
                        </td>
                    </tr>
                </table>
            </td>
            <td class="post" width="70%" align="left" valign="top">
                <table border="0" cellpadding="0" cellspacing="1" class="content" style="width: 100%">
                    <tr>
                        <td class="header1" colspan="2" align="left">
                            <asp:Label ID="lblCommandName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="header2" height="18">
                            <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                        </td>
                    </tr>
                    <tr>                        
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label1" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="ID" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:Label ID="lblID" runat="server" Font-Bold="true"></asp:Label></td>
                    </tr>                    
                    <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label3" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="NAME" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:TextBox ID="txtNAME" runat="server" Width="95%"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label9" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="DESCRIPTION" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:TextBox ID="txtITEMADDRESS" runat="server" Width="95%"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="postheader"><NS:Label ID="Label13" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="IMAGE" /></td>
                        <td class="post">
                            <NS:FilePicker Width="90%" ID="txtIMAGES" runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image"></NS:FilePicker>
                        </td>
                    </tr>
                    <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label5" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="TYPE" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:DropDownList ID="drpITEMTYPE" runat="server" Width="95%" DataTextField="value" DataValueField="key">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td class="postheader" width="25%" align="left">
                            <NS:Label ID="Label2" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="USER" /></td>
                        <td class="post" width="75%" align="left">
                            <asp:DropDownList ID="drpUSERID" runat="server" Width="95%">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td class="postheader"><NS:Label ID="lblNgaydangbai" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="PUBLISH" /></td>
                        <td class="post">
                            <asp:TextBox ID="txtDatetime" runat="server" Width="100%"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="postheader"><NS:Label ID="lblNgaygoxuong" runat="server" LocalizedPage="FORMCAPTION" LocalizedTag="UNPUBLISH" /></td>
                        <td class="post">                    
                            <asp:TextBox ID="txtExprisedDate" runat="server" Width="100%"></asp:TextBox>
                        </td>
                    </tr>        
                    <tr>
                        <td class="postfooter" colspan="2" valign="middle" align="center">
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="CREATE" ID="btnCreate" Text="Tạo mới" runat="server" CssClass="pbutton" Width="77px" OnClick="btnCreate_Click" />
                            &nbsp;
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="UPDATE" ID="btnUpdate" Text="Cập nhật" runat="server" CssClass="pbutton" Width="77px" OnClick="btnUpdate_Click" />
                            &nbsp;
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="DELETE" ID="btnDelete" Text="Xóa" runat="server" CssClass="pbutton" Width="77px" OnClick="btnDelete_Click" />
                            &nbsp;
                            <NS:Button LocalizedPage="ACTION" LocalizedTag="RESET" ID="btnCancel" runat="server" CssClass="pbutton" Text="Hủy" Width="77px" OnClick="btnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>      
    </ContentTemplate>
</asp:UpdatePanel>